//
//  KABAddAddressTCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/3/4.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABAddAddressTCell;
@protocol KABAddAddressTCellDelegate <NSObject>
@optional
- (void)kABAddAddressTCell:(KABAddAddressTCell *)cell textFieldDidChanged:(UITextField *)textField;
- (void)kABAddAddressTCell:(KABAddAddressTCell *)cell textFieldDidEndEditing:(UITextField *)textField;
- (void)kABAddAddressTCell:(KABAddAddressTCell *)cell textViewDidChanged:(UITextView *)textView;
- (void)kABAddAddressTCell:(KABAddAddressTCell *)cell textViewDidEndEditing:(UITextView *)textView;
@end

@class KABReceiverInfoItem;
@interface KABAddAddressTCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *textField;
@property (weak, nonatomic) IBOutlet UIImageView *arrowImgView;
@property (weak, nonatomic) IBOutlet UITextView *textView;

@property (nonatomic, weak) id<KABAddAddressTCellDelegate> delegate;
@property (nonatomic, strong) KABReceiverInfoItem *item;  // 编辑收货地址时使用

- (void)configViewWithRecInfoItem:(KABReceiverInfoItem *)item index:(NSInteger)index;

@end
